package BridgeBundle;

import java.io.IOException;
import java.net.UnknownHostException;

public interface WorkerInterface {
	public void connect(String host, int port) throws UnknownHostException, IOException;
	
	public void connect(String host, int port, int localPort) throws UnknownHostException, IOException;
	
	public void sendMessage(String message) throws IOException;
	
	public String receiveMessage() throws IOException;
	
	public void disconnect() throws IOException;

	public void listen() throws IOException;
}
